package com.my.basic.classes;

/**
 * @author: marshal
 * @date: 2021-09-18 1:50 PM
 */
public class CloneTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        var sub1 = new SubClass(10, "aaa");
        System.out.println(sub1);
        var sub2 = sub1.clone();
        System.out.println(sub2);
    }
}
